 {# src/Acme/StoreBundle/Resources/views/Home/index.html.twig #}

 {% extends '::base.html.twig' %}

 {% block body %}
    <p>Posts</p>
    <ul>
        {% for post in posts %}
            <li><a href="/post/detail/{{ post.id }}">{{ post.title }}</a></li>
        {% endfor %}
    </ul>

    {% block javascripts %}
    <script>
    
    </script>
    {% endblock %}
    
 {% endblock %}